<style>
  .{{$template|escape:'html'}}_table1 {
    width: 900px;
    height: 40px;
  }
  .{{$template|escape:'html'}}_table2 {
    background-image: url('images/common/headline.png');
    background-repeat: repeat-x;
    border-right: solid 1px #8F8F8A;
    width: 900px;
    height: 25px;
  }
  .{{$template|escape:'html'}}_table3 {
    width: 900px;
    padding: 15px 0;
    background-color: #ebebe3;
    border-right: solid 1px #8f8f8a;
    border-bottom: solid 1px #8f8f8a;
    border-top: solid 1px #white;
    border-left: solid 1px #white;
  }
  .{{$template|escape:'html'}}_table4 {
    width: 860px;
    height: 30px;
  }
  .{{$template|escape:'html'}}_table5 {
    width: 900px;
    height: 22px;
  }
  .{{$template|escape:'html'}}_td1 {
    width: 900px;
    height: 40px;
    text-align: left;
    vertical-align: top;
  }
  .{{$template|escape:'html'}}_td2 {
    width: 900px;
    height: 25px;
    padding: 0 0 0 10px;
    text-align: left;
    text-align: left;
    font-weight:bold;
    font-size:130%;
    color:#694247;
  }
  .{{$template|escape:'html'}}_td3 {
    width: 900px;
  }
  .{{$template|escape:'html'}}_td4 {
    width: 100px;
    height: 30px;
    text-align: left;
    vertical-align: TOP;
    padding-top:8px;
    font-size: 14px;
    font-weight: bold;
    color: #694247;
  }
  .{{$template|escape:'html'}}_td5 {
    width: 800px;
    height: 30px;
    text-align: left;
    vertical-align: middle;
  }
  .{{$template|escape:'html'}}_td7 {
    width: 820px;
    height: 22px;
    text-align: right;
  }
  .{{$template|escape:'html'}}_td8 {
    width: 80px;
    height: 22px;
    text-align: right;
  }
  .{{$template|escape:'html'}}_inputText {
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    width: 180px;
    height: 22px;
    text-align: left;
  }
  .{{$template|escape:'html'}}_textareaText {
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    width: 700px;
    height: 150px;
    text-align: left;
  }
  .{{$template|escape:'html'}}_cursorPointer {
    cursor: pointer;
  }
  
</style>



<script src="jsrequest.php?script={{$template|escape:'html'}}" type="text/javascript"></script>
<script type="text/javascript">
  <!--
    if (document.addEventListener) {
      document.addEventListener('DOMContentLoaded', init, false);
    }
    window.onload = init;

    function init() {
      if (!document.getElementById || !document.createElement || !arguments || arguments.callee._loaded) {
        return;
      }
      arguments.callee._loaded = true;
      
      var gui = GuiPageBackendContract.instance('{{$template|escape:'javascript'}}');
      new HandlePageBackendContract(gui, JSON.parse('{{$operator|escape:javascript}}'), JSON.parse('{{$now|escape:javascript}}'), JSON.parse('{{$options|escape:javascript}}'));
    }
  //-->
</script>

<div id="container" class="page_width">
  <table class="{{$template|escape:'html'}}_table2" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="{{$template|escape:'html'}}_td2">Main</td>
    </tr>
  </table>
  <table class="{{$template|escape:'html'}}_table3" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="{{$template|escape:'html'}}_td3"></td>
    </tr>
    <tr>
      <td class="{{$template|escape:'html'}}_td3" align="center">
        <table class="{{$template|escape:'html'}}_table4" cellPadding="0" cellSpacing="0">
          <tr>
            <td class="{{$template|escape:'html'}}_td4">
              Order Type
            </td>
            <td class="{{$template|escape:'html'}}_td5">
              <select class="{{$template|escape:'html'}}_inputText" id="{{$template|escape:'html'}}_type_text"></select>
            </td>
          </tr>
          <tr>
            <td class="{{$template|escape:'html'}}_td4">
              Content
            </td>
            <td class="{{$template|escape:'html'}}_td5">
              <textarea class="{{$template|escape:'html'}}_textareaText" id="{{$template|escape:'html'}}_content_text"></textarea>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td class="{{$template|escape:'html'}}_td6"></td>
    </tr>
  </table>
  
  <table class="{{$template|escape:'html'}}_table5" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="{{$template|escape:'html'}}_td7">
        <input type="button" class="save" id="{{$template|escape:'html'}}_save_button" />
      </td>
      <td class="{{$template|escape:'html'}}_td8">
        <input type="button" class="cancel" id="{{$template|escape:'html'}}_cancel_button" />
      </td>
    </tr>
  </table>
</div>